package com.yanfan.energy.service;


import com.yanfan.energy.domain.*;

import java.util.List;
import java.util.Map;

/**
 * @Author huan
 * @Description 能源监控相关service
 * @ClassName 2023年03月22日 15:11:00
 * @Version 1.0
 **/
public interface ConsumptionService {

    List<EquipmentConsumptionDto> selectequipmentEnergy(EquipmentEnergyParam equipmentEnergyParam);

    List<EquipmentConsumptionDto> workshopEnergy(EquipmentEnergyParam equipmentEnergyParam);

    List<EquipmentConsumptionDto> buildingEnergy(EquipmentEnergyParam equipmentEnergyParam);

    /**
     * 能耗统计相关接口
     *
     * @return
     */
    EnergyConsumption energyConsumption();

    Map equipmentChartEnergy(EquipmentEnergyParam equipmentEnergyParam, Integer i);

    List<EquipmentConsumptionHead> selectequipmentDown(EquipmentEnergyParam equipmentEnergyParam, Integer type);

    Map consumptionProportion();

    Map consumptionProportion2();

    List<EquipmentEnergyBaseResp> baseYear(EquipmentEnergyBaseReq equipmentEnergyBaseReq);
}
